]> dgit.raspbian.org Git - gnome-shell.git/commit
polkitAgent: Also show user avatar for root user
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 23 Jun 2019 10:15:12 +0000 (12:15 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Nov 2019 17:52:31 +0000 (18:52 +0100)
commitc627d47019b0319c47e99c2ed8cd014b9bf98d62
treec070edf161677da3e15bb2264ac47083f1e10946
parentf546715cc34ce618f163b7d1ca54858b0206e96f
polkitAgent: Also show user avatar for root user

Show the user avatar for all users, including the root user. The root
user will always have the generic avatar, but it looks more consistent
than showing no avatar at all.

This way we also don't have to worry about the spacing introduced by the
polkit-dialog-user-layout CSS class, which would give the
"Administrator" label a small offset to the left.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/788
js/ui/components/polkitAgent.js